import {getSiteInfo} from '@/api/homeApi'

export default {
    namespaced: true,
    state: {
        siteInfo: {}
    },
    mutations: {
        SET_SITE_INFO(state, siteInfo) {
            state.siteInfo = siteInfo
        }
    },
    actions: {
        getSiteInfo({state},payload) {
            getSiteInfo().then(res=>{
                state.siteInfo = res
            })
        }
    },
    getters: {

    }
}